using System;

namespace SubversionReports.Entities
{
    public class Tag
    {
        private DateTime date;
        private string author;
        private int startRevision;
        private int endRevision;
        private string path;
        private string name;
        private string comment;

        /// <summary>
        /// Gets or sets the date.
        /// </summary>
        /// <value>The date.</value>
        public DateTime Date
        {
            get { return date; }
            set { date = value; }
        }

        /// <summary>
        /// Gets or sets the author.
        /// </summary>
        /// <value>The author.</value>
        public string Author
        {
            get { return author; }
            set { author = value; }
        }

        /// <summary>
        /// Gets or sets the start revision.
        /// </summary>
        /// <value>The start revision.</value>
        public int StartRevision
        {
            get { return startRevision; }
            set { startRevision = value; }
        }

        /// <summary>
        /// Gets or sets the end revision.
        /// </summary>
        /// <value>The end revision.</value>
        public int EndRevision
        {
            get { return endRevision; }
            set { endRevision = value; }
        }

        /// <summary>
        /// Gets or sets the path.
        /// </summary>
        /// <value>The path.</value>
        public string Path
        {
            get { return path; }
            set { path = value; }
        }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        /// <summary>
        /// Gets or sets the comment.
        /// </summary>
        /// <value>The comment.</value>
        public string Comment
        {
            get { return comment; }
            set { comment = value; }
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Tag"/> class.
        /// </summary>
        public Tag(){}
    }
}